/*  1:   */ package org.intellij.lang.regexp.psi.impl;
/*  2:   */ 
/*  3:   */

import com.intellij.lang.ASTNode;
import org.intellij.lang.regexp.RegExpElementTypes;
import org.intellij.lang.regexp.psi.RegExpClassElement;
import org.intellij.lang.regexp.psi.RegExpElementVisitor;
import org.intellij.lang.regexp.psi.RegExpIntersection;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */
/* 10:   */ 
/* 11:   */ public class RegExpIntersectionImpl
/* 12:   */   extends RegExpElementImpl
/* 13:   */   implements RegExpIntersection
/* 14:   */ {
/* 15:   */   public RegExpIntersectionImpl(ASTNode paramASTNode)
/* 16:   */   {
/* 17:29 */     super(paramASTNode);
/* 18:   */   }
/* 19:   */   
/* 20:   */   public void accept(RegExpElementVisitor paramRegExpElementVisitor)
/* 21:   */   {
/* 22:33 */     paramRegExpElementVisitor.visitRegExpIntersection(this);
/* 23:   */   }
/* 24:   */   
/* 25:   */   @NotNull
/* 26:   */   public RegExpClassElement getLOperand()
/* 27:   */   {
/* 28:38 */     ASTNode[] arrayOfASTNode = getNode().getChildren(RegExpElementTypes.CLASS_ELEMENTS); RegExpClassElement 
/* 29:39 */       tmp24_21 = ((RegExpClassElement)arrayOfASTNode[0].getPsi());
/* 30:39 */     if (tmp24_21 == null) {
/* 31:39 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/lang/regexp/psi/impl/RegExpIntersectionImpl", "getLOperand" }));
/* 32:   */     }
/* 33:39 */     return tmp24_21;
/* 34:   */   }
/* 35:   */   
/* 36:   */   @Nullable
/* 37:   */   public RegExpClassElement getROperand()
/* 38:   */   {
/* 39:44 */     ASTNode[] arrayOfASTNode = getNode().getChildren(RegExpElementTypes.CLASS_ELEMENTS);
/* 40:45 */     return arrayOfASTNode.length > 1 ? (RegExpClassElement)arrayOfASTNode[1].getPsi() : null;
/* 41:   */   }
/* 42:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.lang.regexp.psi.impl.RegExpIntersectionImpl

 * JD-Core Version:    0.7.0.1

 */